﻿#region Using directives

using System;
using System.Data;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;

using CBRSystem.Entities;
using CBRSystem.Data;

#endregion

namespace CBRSystem.Data.Bases
{	
	///<summary>
	/// This class is the base class for any <see cref="StudentMarkProviderBase"/> implementation.
	/// It exposes CRUD methods as well as selecting on index, foreign keys and custom stored procedures.
	///</summary>
	public abstract partial class StudentMarkProviderBaseCore : EntityProviderBase<CBRSystem.Entities.StudentMark, CBRSystem.Entities.StudentMarkKey>
	{		
		#region Get from Many To Many Relationship Functions
		#endregion	
		
		#region Delete Methods

		/// <summary>
		/// 	Deletes a row from the DataSource.
		/// </summary>
		/// <param name="transactionManager">A <see cref="TransactionManager"/> object.</param>
		/// <param name="key">The unique identifier of the row to delete.</param>
		/// <returns>Returns true if operation suceeded.</returns>
		public override bool Delete(TransactionManager transactionManager, CBRSystem.Entities.StudentMarkKey key)
		{
			return Delete(transactionManager, key.StudentMarkId);
		}
		
		/// <summary>
		/// 	Deletes a row from the DataSource.
		/// </summary>
		/// <param name="_studentMarkId">The primary key.. Primary Key.</param>
		/// <remarks>Deletes based on primary key(s).</remarks>
		/// <returns>Returns true if operation suceeded.</returns>
		public bool Delete(System.Int32 _studentMarkId)
		{
			return Delete(null, _studentMarkId);
		}
		
		/// <summary>
		/// 	Deletes a row from the DataSource.
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_studentMarkId">The primary key.. Primary Key.</param>
		/// <remarks>Deletes based on primary key(s).</remarks>
		/// <returns>Returns true if operation suceeded.</returns>
		public abstract bool Delete(TransactionManager transactionManager, System.Int32 _studentMarkId);		
		
		#endregion Delete Methods
		
		#region Get By Foreign Key Functions
	
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_EvaluationComponent key.
		///		FK_StudentMark_EvaluationComponent Description: 
		/// </summary>
		/// <param name="_evaluationComponentId">The key for the EvaluationComponent to which this mark applies.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public TList<StudentMark> GetByEvaluationComponentId(System.Int32 _evaluationComponentId)
		{
			int count = -1;
			return GetByEvaluationComponentId(_evaluationComponentId, 0,int.MaxValue, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_EvaluationComponent key.
		///		FK_StudentMark_EvaluationComponent Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_evaluationComponentId">The key for the EvaluationComponent to which this mark applies.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		/// <remarks></remarks>
		public TList<StudentMark> GetByEvaluationComponentId(TransactionManager transactionManager, System.Int32 _evaluationComponentId)
		{
			int count = -1;
			return GetByEvaluationComponentId(transactionManager, _evaluationComponentId, 0, int.MaxValue, out count);
		}
		
			/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_EvaluationComponent key.
		///		FK_StudentMark_EvaluationComponent Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_evaluationComponentId">The key for the EvaluationComponent to which this mark applies.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		///  <param name="pageLength">Number of rows to return.</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public TList<StudentMark> GetByEvaluationComponentId(TransactionManager transactionManager, System.Int32 _evaluationComponentId, int start, int pageLength)
		{
			int count = -1;
			return GetByEvaluationComponentId(transactionManager, _evaluationComponentId, start, pageLength, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_EvaluationComponent key.
		///		fkStudentMarkEvaluationComponent Description: 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="_evaluationComponentId">The key for the EvaluationComponent to which this mark applies.</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public TList<StudentMark> GetByEvaluationComponentId(System.Int32 _evaluationComponentId, int start, int pageLength)
		{
			int count =  -1;
			return GetByEvaluationComponentId(null, _evaluationComponentId, start, pageLength,out count);	
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_EvaluationComponent key.
		///		fkStudentMarkEvaluationComponent Description: 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="_evaluationComponentId">The key for the EvaluationComponent to which this mark applies.</param>
		/// <param name="count">out parameter to get total records for query</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public TList<StudentMark> GetByEvaluationComponentId(System.Int32 _evaluationComponentId, int start, int pageLength,out int count)
		{
			return GetByEvaluationComponentId(null, _evaluationComponentId, start, pageLength, out count);	
		}
						
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_EvaluationComponent key.
		///		FK_StudentMark_EvaluationComponent Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_evaluationComponentId">The key for the EvaluationComponent to which this mark applies.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="count">The total number of records.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public abstract TList<StudentMark> GetByEvaluationComponentId(TransactionManager transactionManager, System.Int32 _evaluationComponentId, int start, int pageLength, out int count);
		
	
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_Student key.
		///		FK_StudentMark_Student Description: 
		/// </summary>
		/// <param name="_studentId">The key for the Student for whom this mark has been awarded.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public TList<StudentMark> GetByStudentId(System.Int32 _studentId)
		{
			int count = -1;
			return GetByStudentId(_studentId, 0,int.MaxValue, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_Student key.
		///		FK_StudentMark_Student Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_studentId">The key for the Student for whom this mark has been awarded.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		/// <remarks></remarks>
		public TList<StudentMark> GetByStudentId(TransactionManager transactionManager, System.Int32 _studentId)
		{
			int count = -1;
			return GetByStudentId(transactionManager, _studentId, 0, int.MaxValue, out count);
		}
		
			/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_Student key.
		///		FK_StudentMark_Student Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_studentId">The key for the Student for whom this mark has been awarded.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		///  <param name="pageLength">Number of rows to return.</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public TList<StudentMark> GetByStudentId(TransactionManager transactionManager, System.Int32 _studentId, int start, int pageLength)
		{
			int count = -1;
			return GetByStudentId(transactionManager, _studentId, start, pageLength, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_Student key.
		///		fkStudentMarkStudent Description: 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="_studentId">The key for the Student for whom this mark has been awarded.</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public TList<StudentMark> GetByStudentId(System.Int32 _studentId, int start, int pageLength)
		{
			int count =  -1;
			return GetByStudentId(null, _studentId, start, pageLength,out count);	
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_Student key.
		///		fkStudentMarkStudent Description: 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="_studentId">The key for the Student for whom this mark has been awarded.</param>
		/// <param name="count">out parameter to get total records for query</param>
		/// <remarks></remarks>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public TList<StudentMark> GetByStudentId(System.Int32 _studentId, int start, int pageLength,out int count)
		{
			return GetByStudentId(null, _studentId, start, pageLength, out count);	
		}
						
		/// <summary>
		/// 	Gets rows from the datasource based on the FK_StudentMark_Student key.
		///		FK_StudentMark_Student Description: 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_studentId">The key for the Student for whom this mark has been awarded.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="count">The total number of records.</param>
		/// <returns>Returns a typed collection of CBRSystem.Entities.StudentMark objects.</returns>
		public abstract TList<StudentMark> GetByStudentId(TransactionManager transactionManager, System.Int32 _studentId, int start, int pageLength, out int count);
		
		#endregion

		#region Get By Index Functions
		
		/// <summary>
		/// 	Gets a row from the DataSource based on its primary key.
		/// </summary>
		/// <param name="transactionManager">A <see cref="TransactionManager"/> object.</param>
		/// <param name="key">The unique identifier of the row to retrieve.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <returns>Returns an instance of the Entity class.</returns>
		public override CBRSystem.Entities.StudentMark Get(TransactionManager transactionManager, CBRSystem.Entities.StudentMarkKey key, int start, int pageLength)
		{
			return GetByStudentMarkId(transactionManager, key.StudentMarkId, start, pageLength);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the primary key PK_StudentMark_1 index.
		/// </summary>
		/// <param name="_studentMarkId">The primary key.</param>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.StudentMark"/> class.</returns>
		public CBRSystem.Entities.StudentMark GetByStudentMarkId(System.Int32 _studentMarkId)
		{
			int count = -1;
			return GetByStudentMarkId(null,_studentMarkId, 0, int.MaxValue, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_StudentMark_1 index.
		/// </summary>
		/// <param name="_studentMarkId">The primary key.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remarks></remarks>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.StudentMark"/> class.</returns>
		public CBRSystem.Entities.StudentMark GetByStudentMarkId(System.Int32 _studentMarkId, int start, int pageLength)
		{
			int count = -1;
			return GetByStudentMarkId(null, _studentMarkId, start, pageLength, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_StudentMark_1 index.
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_studentMarkId">The primary key.</param>
		/// <remarks></remarks>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.StudentMark"/> class.</returns>
		public CBRSystem.Entities.StudentMark GetByStudentMarkId(TransactionManager transactionManager, System.Int32 _studentMarkId)
		{
			int count = -1;
			return GetByStudentMarkId(transactionManager, _studentMarkId, 0, int.MaxValue, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_StudentMark_1 index.
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_studentMarkId">The primary key.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remarks></remarks>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.StudentMark"/> class.</returns>
		public CBRSystem.Entities.StudentMark GetByStudentMarkId(TransactionManager transactionManager, System.Int32 _studentMarkId, int start, int pageLength)
		{
			int count = -1;
			return GetByStudentMarkId(transactionManager, _studentMarkId, start, pageLength, out count);
		}
		
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_StudentMark_1 index.
		/// </summary>
		/// <param name="_studentMarkId">The primary key.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="count">out parameter to get total records for query</param>
		/// <remarks></remarks>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.StudentMark"/> class.</returns>
		public CBRSystem.Entities.StudentMark GetByStudentMarkId(System.Int32 _studentMarkId, int start, int pageLength, out int count)
		{
			return GetByStudentMarkId(null, _studentMarkId, start, pageLength, out count);
		}
		
				
		/// <summary>
		/// 	Gets rows from the datasource based on the PK_StudentMark_1 index.
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="_studentMarkId">The primary key.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="count">The total number of records.</param>
		/// <returns>Returns an instance of the <see cref="CBRSystem.Entities.StudentMark"/> class.</returns>
		public abstract CBRSystem.Entities.StudentMark GetByStudentMarkId(TransactionManager transactionManager, System.Int32 _studentMarkId, int start, int pageLength, out int count);
						
		#endregion "Get By Index Functions"
	
		#region Custom Methods
		
		
		#region StudentMark_LookupByStudentAndComponent 
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupByStudentAndComponent' stored procedure. 
		/// </summary>
		/// <param name="studentId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="componentId"> A <c>System.Int32?</c> instance.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupByStudentAndComponent(System.Int32? studentId, System.Int32? componentId)
		{
			return LookupByStudentAndComponent(null, 0, int.MaxValue , studentId, componentId);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupByStudentAndComponent' stored procedure. 
		/// </summary>
		/// <param name="studentId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="componentId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupByStudentAndComponent(int start, int pageLength, System.Int32? studentId, System.Int32? componentId)
		{
			return LookupByStudentAndComponent(null, start, pageLength , studentId, componentId);
		}
				
		/// <summary>
		///	This method wrap the 'StudentMark_LookupByStudentAndComponent' stored procedure. 
		/// </summary>
		/// <param name="studentId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="componentId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupByStudentAndComponent(TransactionManager transactionManager, System.Int32? studentId, System.Int32? componentId)
		{
			return LookupByStudentAndComponent(transactionManager, 0, int.MaxValue , studentId, componentId);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupByStudentAndComponent' stored procedure. 
		/// </summary>
		/// <param name="studentId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="componentId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public abstract TList<StudentMark> LookupByStudentAndComponent(TransactionManager transactionManager, int start, int pageLength , System.Int32? studentId, System.Int32? componentId);
		
		#endregion
		
		#region StudentMark_LookupActiveByCourseAndSection 
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByCourseAndSection' stored procedure. 
		/// </summary>
		/// <param name="courseId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveByCourseAndSection(System.Int32? courseId, System.Int32? sectionId)
		{
			return LookupActiveByCourseAndSection(null, 0, int.MaxValue , courseId, sectionId);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByCourseAndSection' stored procedure. 
		/// </summary>
		/// <param name="courseId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveByCourseAndSection(int start, int pageLength, System.Int32? courseId, System.Int32? sectionId)
		{
			return LookupActiveByCourseAndSection(null, start, pageLength , courseId, sectionId);
		}
				
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByCourseAndSection' stored procedure. 
		/// </summary>
		/// <param name="courseId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveByCourseAndSection(TransactionManager transactionManager, System.Int32? courseId, System.Int32? sectionId)
		{
			return LookupActiveByCourseAndSection(transactionManager, 0, int.MaxValue , courseId, sectionId);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByCourseAndSection' stored procedure. 
		/// </summary>
		/// <param name="courseId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public abstract TList<StudentMark> LookupActiveByCourseAndSection(TransactionManager transactionManager, int start, int pageLength , System.Int32? courseId, System.Int32? sectionId);
		
		#endregion
		
		#region StudentMark_ListAllActive 
		
		/// <summary>
		///	This method wrap the 'StudentMark_ListAllActive' stored procedure. 
		/// </summary>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> ListAllActive()
		{
			return ListAllActive(null, 0, int.MaxValue );
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_ListAllActive' stored procedure. 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> ListAllActive(int start, int pageLength)
		{
			return ListAllActive(null, start, pageLength );
		}
				
		/// <summary>
		///	This method wrap the 'StudentMark_ListAllActive' stored procedure. 
		/// </summary>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> ListAllActive(TransactionManager transactionManager)
		{
			return ListAllActive(transactionManager, 0, int.MaxValue );
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_ListAllActive' stored procedure. 
		/// </summary>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public abstract TList<StudentMark> ListAllActive(TransactionManager transactionManager, int start, int pageLength );
		
		#endregion
		
		#region StudentMark_LookupActiveBySection 
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveBySection' stored procedure. 
		/// </summary>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveBySection(System.Int32? sectionId)
		{
			return LookupActiveBySection(null, 0, int.MaxValue , sectionId);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveBySection' stored procedure. 
		/// </summary>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveBySection(int start, int pageLength, System.Int32? sectionId)
		{
			return LookupActiveBySection(null, start, pageLength , sectionId);
		}
				
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveBySection' stored procedure. 
		/// </summary>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveBySection(TransactionManager transactionManager, System.Int32? sectionId)
		{
			return LookupActiveBySection(transactionManager, 0, int.MaxValue , sectionId);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveBySection' stored procedure. 
		/// </summary>
		/// <param name="sectionId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public abstract TList<StudentMark> LookupActiveBySection(TransactionManager transactionManager, int start, int pageLength , System.Int32? sectionId);
		
		#endregion
		
		#region StudentMark_LookupActiveByCourse 
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByCourse' stored procedure. 
		/// </summary>
		/// <param name="courseId"> A <c>System.Int32?</c> instance.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveByCourse(System.Int32? courseId)
		{
			return LookupActiveByCourse(null, 0, int.MaxValue , courseId);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByCourse' stored procedure. 
		/// </summary>
		/// <param name="courseId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveByCourse(int start, int pageLength, System.Int32? courseId)
		{
			return LookupActiveByCourse(null, start, pageLength , courseId);
		}
				
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByCourse' stored procedure. 
		/// </summary>
		/// <param name="courseId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveByCourse(TransactionManager transactionManager, System.Int32? courseId)
		{
			return LookupActiveByCourse(transactionManager, 0, int.MaxValue , courseId);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByCourse' stored procedure. 
		/// </summary>
		/// <param name="courseId"> A <c>System.Int32?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public abstract TList<StudentMark> LookupActiveByCourse(TransactionManager transactionManager, int start, int pageLength , System.Int32? courseId);
		
		#endregion
		
		#region StudentMark_LookupActiveByTerm 
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByTerm' stored procedure. 
		/// </summary>
		/// <param name="term"> A <c>System.Int16?</c> instance.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveByTerm(System.Int16? term)
		{
			return LookupActiveByTerm(null, 0, int.MaxValue , term);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByTerm' stored procedure. 
		/// </summary>
		/// <param name="term"> A <c>System.Int16?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveByTerm(int start, int pageLength, System.Int16? term)
		{
			return LookupActiveByTerm(null, start, pageLength , term);
		}
				
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByTerm' stored procedure. 
		/// </summary>
		/// <param name="term"> A <c>System.Int16?</c> instance.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public TList<StudentMark> LookupActiveByTerm(TransactionManager transactionManager, System.Int16? term)
		{
			return LookupActiveByTerm(transactionManager, 0, int.MaxValue , term);
		}
		
		/// <summary>
		///	This method wrap the 'StudentMark_LookupActiveByTerm' stored procedure. 
		/// </summary>
		/// <param name="term"> A <c>System.Int16?</c> instance.</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">Number of rows to return.</param>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <remark>This method is generate from a stored procedure.</remark>
		/// <returns>A <see cref="TList&lt;StudentMark&gt;"/> instance.</returns>
		public abstract TList<StudentMark> LookupActiveByTerm(TransactionManager transactionManager, int start, int pageLength , System.Int16? term);
		
		#endregion
		
		#endregion

		#region Helper Functions	
		
		/// <summary>
		/// Fill a TList&lt;StudentMark&gt; From a DataReader.
		/// </summary>
		/// <param name="reader">Datareader</param>
		/// <param name="rows">The collection to fill</param>
		/// <param name="start">Row number at which to start reading, the first row is 0.</param>
		/// <param name="pageLength">number of rows.</param>
		/// <returns>a <see cref="TList&lt;StudentMark&gt;"/></returns>
		public static TList<StudentMark> Fill(IDataReader reader, TList<StudentMark> rows, int start, int pageLength)
		{
			NetTiersProvider currentProvider = DataRepository.Provider;
            bool useEntityFactory = currentProvider.UseEntityFactory;
            bool enableEntityTracking = currentProvider.EnableEntityTracking;
            LoadPolicy currentLoadPolicy = currentProvider.CurrentLoadPolicy;
			Type entityCreationFactoryType = currentProvider.EntityCreationalFactoryType;
			
			// advance to the starting row
			for (int i = 0; i < start; i++)
			{
				if (!reader.Read())
				return rows; // not enough rows, just return
			}
			for (int i = 0; i < pageLength; i++)
			{
				if (!reader.Read())
					break; // we are done
					
				string key = null;
				
				CBRSystem.Entities.StudentMark c = null;
				if (useEntityFactory)
				{
					key = new System.Text.StringBuilder("StudentMark")
					.Append("|").Append((System.Int32)reader[((int)StudentMarkColumn.StudentMarkId - 1)]).ToString();
					c = EntityManager.LocateOrCreate<StudentMark>(
					key.ToString(), // EntityTrackingKey
					"StudentMark",  //Creational Type
					entityCreationFactoryType,  //Factory used to create entity
					enableEntityTracking); // Track this entity?
				}
				else
				{
					c = new CBRSystem.Entities.StudentMark();
				}
				
				if (!enableEntityTracking ||
					c.EntityState == EntityState.Added ||
					(enableEntityTracking &&
					
						(
							(currentLoadPolicy == LoadPolicy.PreserveChanges && c.EntityState == EntityState.Unchanged) ||
							(currentLoadPolicy == LoadPolicy.DiscardChanges && c.EntityState != EntityState.Unchanged)
						)
					))
				{
					c.SuppressEntityEvents = true;
					c.StudentMarkId = (System.Int32)reader[((int)StudentMarkColumn.StudentMarkId - 1)];
					c.StudentId = (System.Int32)reader[((int)StudentMarkColumn.StudentId - 1)];
					c.EvaluationComponentId = (System.Int32)reader[((int)StudentMarkColumn.EvaluationComponentId - 1)];
					c.TotalPossibleMarks = (System.Decimal)reader[((int)StudentMarkColumn.TotalPossibleMarks - 1)];
					c.MarksEarned = (System.Decimal)reader[((int)StudentMarkColumn.MarksEarned - 1)];
					c.GradeAwarded = (reader.IsDBNull(((int)StudentMarkColumn.GradeAwarded - 1)))?null:(System.Decimal?)reader[((int)StudentMarkColumn.GradeAwarded - 1)];
					c.Comments = (reader.IsDBNull(((int)StudentMarkColumn.Comments - 1)))?null:(System.String)reader[((int)StudentMarkColumn.Comments - 1)];
					c.EntityTrackingKey = key;
					c.AcceptChanges();
					c.SuppressEntityEvents = false;
				}
				rows.Add(c);
			}
		return rows;
		}		
		/// <summary>
		/// Refreshes the <see cref="CBRSystem.Entities.StudentMark"/> object from the <see cref="IDataReader"/>.
		/// </summary>
		/// <param name="reader">The <see cref="IDataReader"/> to read from.</param>
		/// <param name="entity">The <see cref="CBRSystem.Entities.StudentMark"/> object to refresh.</param>
		public static void RefreshEntity(IDataReader reader, CBRSystem.Entities.StudentMark entity)
		{
			if (!reader.Read()) return;
			
			entity.StudentMarkId = (System.Int32)reader[((int)StudentMarkColumn.StudentMarkId - 1)];
			entity.StudentId = (System.Int32)reader[((int)StudentMarkColumn.StudentId - 1)];
			entity.EvaluationComponentId = (System.Int32)reader[((int)StudentMarkColumn.EvaluationComponentId - 1)];
			entity.TotalPossibleMarks = (System.Decimal)reader[((int)StudentMarkColumn.TotalPossibleMarks - 1)];
			entity.MarksEarned = (System.Decimal)reader[((int)StudentMarkColumn.MarksEarned - 1)];
			entity.GradeAwarded = (reader.IsDBNull(((int)StudentMarkColumn.GradeAwarded - 1)))?null:(System.Decimal?)reader[((int)StudentMarkColumn.GradeAwarded - 1)];
			entity.Comments = (reader.IsDBNull(((int)StudentMarkColumn.Comments - 1)))?null:(System.String)reader[((int)StudentMarkColumn.Comments - 1)];
			entity.AcceptChanges();
		}
		
		/// <summary>
		/// Refreshes the <see cref="CBRSystem.Entities.StudentMark"/> object from the <see cref="DataSet"/>.
		/// </summary>
		/// <param name="dataSet">The <see cref="DataSet"/> to read from.</param>
		/// <param name="entity">The <see cref="CBRSystem.Entities.StudentMark"/> object.</param>
		public static void RefreshEntity(DataSet dataSet, CBRSystem.Entities.StudentMark entity)
		{
			DataRow dataRow = dataSet.Tables[0].Rows[0];
			
			entity.StudentMarkId = (System.Int32)dataRow["StudentMarkID"];
			entity.StudentId = (System.Int32)dataRow["StudentID"];
			entity.EvaluationComponentId = (System.Int32)dataRow["EvaluationComponentID"];
			entity.TotalPossibleMarks = (System.Decimal)dataRow["TotalPossibleMarks"];
			entity.MarksEarned = (System.Decimal)dataRow["MarksEarned"];
			entity.GradeAwarded = Convert.IsDBNull(dataRow["GradeAwarded"]) ? null : (System.Decimal?)dataRow["GradeAwarded"];
			entity.Comments = Convert.IsDBNull(dataRow["Comments"]) ? null : (System.String)dataRow["Comments"];
			entity.AcceptChanges();
		}
		#endregion 
		
		#region DeepLoad Methods
		/// <summary>
		/// Deep Loads the <see cref="IEntity"/> object with criteria based of the child 
		/// property collections only N Levels Deep based on the <see cref="DeepLoadType"/>.
		/// </summary>
		/// <remarks>
		/// Use this method with caution as it is possible to DeepLoad with Recursion and traverse an entire object graph.
		/// </remarks>
		/// <param name="transactionManager"><see cref="TransactionManager"/> object</param>
		/// <param name="entity">The <see cref="CBRSystem.Entities.StudentMark"/> object to load.</param>
		/// <param name="deep">Boolean. A flag that indicates whether to recursively save all Property Collection that are descendants of this instance. If True, saves the complete object graph below this object. If False, saves this object only. </param>
		/// <param name="deepLoadType">DeepLoadType Enumeration to Include/Exclude object property collections from Load.</param>
		/// <param name="childTypes">CBRSystem.Entities.StudentMark Property Collection Type Array To Include or Exclude from Load</param>
		/// <param name="innerList">A collection of child types for easy access.</param>
	    /// <exception cref="ArgumentNullException">entity or childTypes is null.</exception>
	    /// <exception cref="ArgumentException">deepLoadType has invalid value.</exception>
		public override void DeepLoad(TransactionManager transactionManager, CBRSystem.Entities.StudentMark entity, bool deep, DeepLoadType deepLoadType, System.Type[] childTypes, DeepSession innerList)
		{
			if(entity == null)
				return;

			#region EvaluationComponentIdSource	
			if (CanDeepLoad(entity, "EvaluationComponent|EvaluationComponentIdSource", deepLoadType, innerList) 
				&& entity.EvaluationComponentIdSource == null)
			{
				object[] pkItems = new object[1];
				pkItems[0] = entity.EvaluationComponentId;
				EvaluationComponent tmpEntity = EntityManager.LocateEntity<EvaluationComponent>(EntityLocator.ConstructKeyFromPkItems(typeof(EvaluationComponent), pkItems), DataRepository.Provider.EnableEntityTracking);
				if (tmpEntity != null)
					entity.EvaluationComponentIdSource = tmpEntity;
				else
					entity.EvaluationComponentIdSource = DataRepository.EvaluationComponentProvider.GetByEvaluationComponentId(transactionManager, entity.EvaluationComponentId);		
				
				#if NETTIERS_DEBUG
				System.Diagnostics.Debug.WriteLine("- property 'EvaluationComponentIdSource' loaded. key " + entity.EntityTrackingKey);
				#endif 
				
				if (deep && entity.EvaluationComponentIdSource != null)
				{
					innerList.SkipChildren = true;
					DataRepository.EvaluationComponentProvider.DeepLoad(transactionManager, entity.EvaluationComponentIdSource, deep, deepLoadType, childTypes, innerList);
					innerList.SkipChildren = false;
				}
					
			}
			#endregion EvaluationComponentIdSource

			#region StudentIdSource	
			if (CanDeepLoad(entity, "Student|StudentIdSource", deepLoadType, innerList) 
				&& entity.StudentIdSource == null)
			{
				object[] pkItems = new object[1];
				pkItems[0] = entity.StudentId;
				Student tmpEntity = EntityManager.LocateEntity<Student>(EntityLocator.ConstructKeyFromPkItems(typeof(Student), pkItems), DataRepository.Provider.EnableEntityTracking);
				if (tmpEntity != null)
					entity.StudentIdSource = tmpEntity;
				else
					entity.StudentIdSource = DataRepository.StudentProvider.GetByStudentId(transactionManager, entity.StudentId);		
				
				#if NETTIERS_DEBUG
				System.Diagnostics.Debug.WriteLine("- property 'StudentIdSource' loaded. key " + entity.EntityTrackingKey);
				#endif 
				
				if (deep && entity.StudentIdSource != null)
				{
					innerList.SkipChildren = true;
					DataRepository.StudentProvider.DeepLoad(transactionManager, entity.StudentIdSource, deep, deepLoadType, childTypes, innerList);
					innerList.SkipChildren = false;
				}
					
			}
			#endregion StudentIdSource
			
			//used to hold DeepLoad method delegates and fire after all the local children have been loaded.
			Dictionary<string, KeyValuePair<Delegate, object>> deepHandles = new Dictionary<string, KeyValuePair<Delegate, object>>();
			
			//Fire all DeepLoad Items
			foreach(KeyValuePair<Delegate, object> pair in deepHandles.Values)
		    {
                pair.Key.DynamicInvoke((object[])pair.Value);
		    }
			deepHandles = null;
		}
		
		#endregion 
		
		#region DeepSave Methods

		/// <summary>
		/// Deep Save the entire object graph of the CBRSystem.Entities.StudentMark object with criteria based of the child 
		/// Type property array and DeepSaveType.
		/// </summary>
		/// <param name="transactionManager">The transaction manager.</param>
		/// <param name="entity">CBRSystem.Entities.StudentMark instance</param>
		/// <param name="deepSaveType">DeepSaveType Enumeration to Include/Exclude object property collections from Save.</param>
		/// <param name="childTypes">CBRSystem.Entities.StudentMark Property Collection Type Array To Include or Exclude from Save</param>
		/// <param name="innerList">A Hashtable of child types for easy access.</param>
		public override bool DeepSave(TransactionManager transactionManager, CBRSystem.Entities.StudentMark entity, DeepSaveType deepSaveType, System.Type[] childTypes, DeepSession innerList)
		{	
			if (entity == null)
				return false;
							
			#region Composite Parent Properties
			//Save Source Composite Properties, however, don't call deep save on them.  
			//So they only get saved a single level deep.
			
			#region EvaluationComponentIdSource
			if (CanDeepSave(entity, "EvaluationComponent|EvaluationComponentIdSource", deepSaveType, innerList) 
				&& entity.EvaluationComponentIdSource != null)
			{
				DataRepository.EvaluationComponentProvider.Save(transactionManager, entity.EvaluationComponentIdSource);
				entity.EvaluationComponentId = entity.EvaluationComponentIdSource.EvaluationComponentId;
			}
			#endregion 
			
			#region StudentIdSource
			if (CanDeepSave(entity, "Student|StudentIdSource", deepSaveType, innerList) 
				&& entity.StudentIdSource != null)
			{
				DataRepository.StudentProvider.Save(transactionManager, entity.StudentIdSource);
				entity.StudentId = entity.StudentIdSource.StudentId;
			}
			#endregion 
			#endregion Composite Parent Properties

			// Save Root Entity through Provider
			if (!entity.IsDeleted)
				this.Save(transactionManager, entity);
			
			//used to hold DeepSave method delegates and fire after all the local children have been saved.
			Dictionary<string, KeyValuePair<Delegate, object>> deepHandles = new Dictionary<string, KeyValuePair<Delegate, object>>();
			//Fire all DeepSave Items
			foreach(KeyValuePair<Delegate, object> pair in deepHandles.Values)
		    {
                pair.Key.DynamicInvoke((object[])pair.Value);
		    }
			
			// Save Root Entity through Provider, if not already saved in delete mode
			if (entity.IsDeleted)
				this.Save(transactionManager, entity);
				

			deepHandles = null;
						
			return true;
		}
		#endregion
	} // end class
	
	#region StudentMarkChildEntityTypes
	
	///<summary>
	/// Enumeration used to expose the different child entity types 
	/// for child properties in <c>CBRSystem.Entities.StudentMark</c>
	///</summary>
	public enum StudentMarkChildEntityTypes
	{
		
		///<summary>
		/// Composite Property for <c>EvaluationComponent</c> at EvaluationComponentIdSource
		///</summary>
		[ChildEntityType(typeof(EvaluationComponent))]
		EvaluationComponent,
			
		///<summary>
		/// Composite Property for <c>Student</c> at StudentIdSource
		///</summary>
		[ChildEntityType(typeof(Student))]
		Student,
		}
	
	#endregion StudentMarkChildEntityTypes
	
	#region StudentMarkFilterBuilder
	
	/// <summary>
	/// A strongly-typed instance of the <see cref="SqlFilterBuilder&lt;StudentMarkColumn&gt;"/> class
	/// that is used exclusively with a <see cref="StudentMark"/> object.
	/// </summary>
	[CLSCompliant(true)]
	public class StudentMarkFilterBuilder : SqlFilterBuilder<StudentMarkColumn>
	{
		#region Constructors

		/// <summary>
		/// Initializes a new instance of the StudentMarkFilterBuilder class.
		/// </summary>
		public StudentMarkFilterBuilder() : base() { }

		/// <summary>
		/// Initializes a new instance of the StudentMarkFilterBuilder class.
		/// </summary>
		/// <param name="ignoreCase">Specifies whether to create case-insensitive statements.</param>
		public StudentMarkFilterBuilder(bool ignoreCase) : base(ignoreCase) { }

		/// <summary>
		/// Initializes a new instance of the StudentMarkFilterBuilder class.
		/// </summary>
		/// <param name="ignoreCase">Specifies whether to create case-insensitive statements.</param>
		/// <param name="useAnd">Specifies whether to combine statements using AND or OR.</param>
		public StudentMarkFilterBuilder(bool ignoreCase, bool useAnd) : base(ignoreCase, useAnd) { }

		#endregion Constructors
	}

	#endregion StudentMarkFilterBuilder
	
	#region StudentMarkParameterBuilder
	
	/// <summary>
	/// A strongly-typed instance of the <see cref="ParameterizedSqlFilterBuilder&lt;StudentMarkColumn&gt;"/> class
	/// that is used exclusively with a <see cref="StudentMark"/> object.
	/// </summary>
	[CLSCompliant(true)]
	public class StudentMarkParameterBuilder : ParameterizedSqlFilterBuilder<StudentMarkColumn>
	{
		#region Constructors

		/// <summary>
		/// Initializes a new instance of the StudentMarkParameterBuilder class.
		/// </summary>
		public StudentMarkParameterBuilder() : base() { }

		/// <summary>
		/// Initializes a new instance of the StudentMarkParameterBuilder class.
		/// </summary>
		/// <param name="ignoreCase">Specifies whether to create case-insensitive statements.</param>
		public StudentMarkParameterBuilder(bool ignoreCase) : base(ignoreCase) { }

		/// <summary>
		/// Initializes a new instance of the StudentMarkParameterBuilder class.
		/// </summary>
		/// <param name="ignoreCase">Specifies whether to create case-insensitive statements.</param>
		/// <param name="useAnd">Specifies whether to combine statements using AND or OR.</param>
		public StudentMarkParameterBuilder(bool ignoreCase, bool useAnd) : base(ignoreCase, useAnd) { }

		#endregion Constructors
	}

	#endregion StudentMarkParameterBuilder
	
	#region StudentMarkSortBuilder
    
    /// <summary>
    /// A strongly-typed instance of the <see cref="SqlSortBuilder&lt;StudentMarkColumn&gt;"/> class
	/// that is used exclusively with a <see cref="StudentMark"/> object.
    /// </summary>
    [CLSCompliant(true)]
    public class StudentMarkSortBuilder : SqlSortBuilder<StudentMarkColumn>
    {
		#region Constructors

		/// <summary>
		/// Initializes a new instance of the StudentMarkSqlSortBuilder class.
		/// </summary>
		public StudentMarkSortBuilder() : base() { }

		#endregion Constructors

    }    
    #endregion StudentMarkSortBuilder
	
} // end namespace
